﻿/**
 * BoardService.java 1.0 2007-4-15 上午04:13:50,创建 by yangfan
 */


package org.in4j.bbs.service.impl;

import org.in4j.bbs.dao.BoardDao;
import org.in4j.bbs.model.Board;
import org.in4j.bbs.service.BoardService;

/**
 *
 * @author 杨帆
 * @version 1.0 2007-4-15 上午04:13:50,创建
 */
public class BoardServiceImpl implements BoardService
{
	private BoardDao boardDao;

	public void setBoardDao(BoardDao boardDao)
	{
		this.boardDao = boardDao;
	}

	public Board getBoardByName(String boardName, boolean initTopics)
	{
		return boardDao.getBoardByName(boardName, initTopics);
	}
}